package interaction;

import interaction.sampling.SampleSet;
import interaction.sampling.matching.Matcher;
import interaction.sampling.matching.MatcherCollection;

public class ServiceLocator {
	private static App applet;
	private static SampleSet tapSamples;
	private static SampleSet slapSamples;
	
	public static Matcher getSampleMatcher()
	{
		return new MatcherCollection();
	}
	
	public static App getApplet()
	{
		return applet;
	}
	
	public static SampleSet getSlapSamples() {
		return slapSamples;
	}
	
	public static SampleSet getTapSamples() {
		return tapSamples;
	}
	
	public static void setSlapSamples(SampleSet slapSamples) {
		ServiceLocator.slapSamples = slapSamples;
	}
	
	public static void setTapSamples(SampleSet tapSamples) {
		ServiceLocator.tapSamples = tapSamples;
	}
	
	public static void setApplet(App applet)
	{
		ServiceLocator.applet = applet;
	}
}
